<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>

<body>

    <script type="text/javascript" src="js/axios.js"></script>
    <script type="text/javascript">
        function abc(v) {
            console.log(v);

        }
        axios.get('http://localhost:3001/adata?callback=abc').then(function (data) {
            console.log(data.data);
            console.log(data);
            abc('test');//这句执行了
            (data.data);//为什么这句没办法执行
        })
    </script>
</body>

</html>